package Days10;

public class brands {
    //商品的属性：商品的ID，名字，价格，库存，
    private String id; //商品的ID

    private String name;  //商品的名字

    private int price;   //商品的价格

    private int remain; //商品的库存

    public brands() {
    }

    public brands(String id, String name, int price, int remain) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.remain = remain;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getRemain() {
        return remain;
    }

    public void setRemain(int remain) {
        this.remain = remain;
    }
}
